menubar: Query only the necessary size from the child
authorBenjamin Otte <otte@redhat.com>
Sat, 30 Apr 2011 04:31:01 +0000 (06:31 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 1 May 2011 02:44:56 +0000 (04:44 +0200)
commit3091a90538e10425e1e405e75fb6b43baa52e571
treeba98c916591dc01e3c64fc22d9f2c0b1da9386e2
parent923fcaa9283e4203a22c65ec48d8a5f499cc78d5
menubar: Query only the necessary size from the child

The get_preferred_size() function was compied form elsewhere. We should
really make that a common API.
gtk/gtkmenubar.c